package com.hz.copyingsystem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hz.common.utils.PageUtils;
import com.hz.copyingsystem.entity.FixedInformationDicEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author txw_cyl
 * @email sunlightcs@gmail.com
 * @date 2023-05-09 14:55:06
 */
public interface HzFixedInformationDicService extends IService<FixedInformationDicEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<FixedInformationDicEntity> queryYears(Integer curPage, Integer pageSize, String fixedInformationName);

    /**
     * 根据固定信息名称查询记录数
     * @param fixedInformationName
     * @return
     */
    Integer queryFixedInformationDicsNum(String fixedInformationName);

    List<FixedInformationDicEntity> findByIds(long yid, long sid, long cid);

    List<FixedInformationDicEntity> queryByName(String informationName);

    List<FixedInformationDicEntity> queryByNameAndContent(String name, String content);

    List<FixedInformationDicEntity> queryByNameAndRemarks(String name, String remarks);

    Integer queryByNameAndRemarksNum(String fixedInformationName, String remarks);
}

